<?php
	session_start();
	session_destroy();
	
	include_once( 'config.php' );
	include_once( 'saetv2.ex.class.php' );
	
	$o = new SaeTOAuthV2( WB_AKEY , WB_SKEY );
	$code_url = $o->getAuthorizeURL( WB_CALLBACK_URL );
	
	header('Location:'.$code_url);
?>